﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace BioModel
{
    [DataContract]
    public class Betaling
    {
        #region Attributter
        [DataMember]
        private int betalingsId;
        [DataMember]
        private DateTime betalingsDato;
        [DataMember]
        private bool betalingsStatus;
        #endregion

        #region Konstruktør
        public Betaling()
        {
        }

        public Betaling(int betalingsId, DateTime betalingsDato, bool betalingsStatus)
        {
            this.betalingsId = betalingsId;
            this.betalingsDato = betalingsDato;
            this.betalingsStatus = betalingsStatus;
        }
        #endregion

        #region Get og Set
        [DataMember]
        public int BetalingsId
        {
            get { return betalingsId; }
            set { betalingsId = value; }
        }

        [DataMember]
        public bool BetalingsStatus
        {
            get { return betalingsStatus; }
            set { betalingsStatus = value; }
        }

        [DataMember]
        public DateTime BetalingsDato
        {
            get { return betalingsDato; }
            set { betalingsDato = value; }
        }
        #endregion
    }
}
